/**
 * 自定义能够处理前端传来的urlencoded数据的中间件
 */
const express = require('express')

const pc = require('./middleware/parser_custom')

app = express()
app.use(pc.parser_custom)

app.post('/', (req, res) => {
    console.log(req.body)
    res.send(req.body)
})

app.listen(80)







